package com.ybb.service;

import com.ybb.dao.LoginDao;
import com.ybb.dao.LoginDaoImpl;
import com.ybb.pojo.User;
import com.ybb.service.LoginService;

public class LoginServiceImpl implements LoginService {
    private LoginDao loginDao=null;
    public LoginServiceImpl(){
        loginDao=new LoginDaoImpl();
    }
    public User login(String userCode, String password) {
        return loginDao.login(userCode,password);
    }
}
